package com.leoman.plz_p;


import com.leoman.plz_p.constants.Urls;
import com.leoman.plz_p.utils.FileUtils;

import cn.com.corelib.CoreLibApplicition;
import cn.com.corelib.api.ApiFactory;


/**
 * Created by guoh on 2017/2/28.
 */

public class App extends CoreLibApplicition {



    @Override
    public void onCreate() {
        super.onCreate();
//        GlobalExceptionHandler.getInstance().init(this, getResources().getString(R.string.app_name)); //初始化全局异常捕获
        ApiFactory.getFactory(getApplicationContext()).add(Urls.ROOT); //初始化Retrofit接口工厂
        FileUtils.initDir();

    }

}
